/**
 * Created by zengy on 2017/6/8.
 */

//预约管理
var http = HttpRequest.prototype;
//专家见面
http.getExpertConsultationList=function (params,cb) {
    var opts = {
        url : baseUrl + '/reservationManager/getExpertConsultationList',
        type : 'POST',
        data:params
    };
    this.baseRequest(cb,opts)
}

//重新预约医生一对一
http.reReservationConsultation=function (params,cb) {
    var opts = {
        url : baseUrl + '/reservationManager/reReservationConsultation',
        type : 'POST',
        data:params
    };
    this.baseRequest(cb,opts)
}
//专家见面导出
http.expertMeetingExcel=function (params,cb) {
    var opts = {
        url : baseUrl + '/reservationManager/getExportUrl',
        type : 'POST',
        data:params
    };
    this.baseRequest(cb,opts)
}
//导出电话咨询
http.telConsultationExcel=function (params,cb) {
    var opts = {
        url : baseUrl + '/mobileConsultManager/getExportUrl',
        type : 'POST',
        data:params
    };
    this.baseRequest(cb,opts)
}

//1.电话咨询
http.queryCommentList=function (params,cb) {
    var opts = {
        url : baseUrl + '/mobileConsultManager/queryMobileOrderList',
        type : 'POST',
        data:params
    };
    this.baseRequest(cb,opts)
}
//2、预约时间更改
http.updateMobileServiceTime=function (params,cb) {
    var opts = {
        url : baseUrl + '/mobileConsultManager/updateMobileServiceTime',
        type : 'POST',
        data:params
    };
    this.baseRequest(cb,opts)
}

//获取微信通话记录
http.queryMobileLog=function (params,cb) {
    var opts = {
        url : baseUrl + '/mobileConsultManager/queryMobileLog',
        type : 'POST',
        data:params
    };
    this.baseRequest(cb,opts)
}
//客服拨打电话
http.customServiceCalling=function (params,cb) {
    var opts = {
        url : baseUrl + '/mobileConsultManager/customServiceCalling',
        type : 'POST',
        data:params
    };
    this.baseRequest(cb,opts)
}
//双向拨打电话
http.doubleTalk=function (params,cb) {
    var opts = {
        url : baseUrl + '/mobileConsultManager/doubleTalk',
        type : 'POST',
        data:params
    };
    this.baseRequest(cb,opts)
}
//电话咨询详情
http.getPatientDetailOfPhoneConsult=function (params,cb) {
        var opts = {
            url : baseUrl + '/reservationManager/getPatientDetailOfPhoneConsult',
            type : 'POST',
            data:params
        };
        this.baseRequest(cb,opts)
    }



